Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate hardcoded string-based authentication, add AUTH packet #489

Merged
merged 3 commits into from
Mar 15, 2021

Conversation

in1tiate
Copy link
Member

@in1tiate in1tiate commented Mar 9, 2021

Feature flagged so old servers will still work. The AUTH packet is used like this:

Server: AUTH#{state}#%

state:
1 or higher: Successful log-in. Displays the guard button.
0: Unsuccessful log-in attempt.
-1 or lower: Log-out. Hides the guard button.

A working implementation is available here: AttorneyOnline/akashi#18

@in1tiate in1tiate requested a review from oldmud0 March 9, 2021 20:39
src/courtroom.cpp Outdated Show resolved Hide resolved
src/packet_distribution.cpp Outdated Show resolved Hide resolved
@in1tiate in1tiate requested a review from oldmud0 March 10, 2021 10:21
Copy link
Member

@oldmud0 oldmud0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants