Skip to content

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

Merged
oldmud0 merged 3 commits intomasterfrom
feature/network-auth
Mar 15, 2021
Merged

Deprecate hardcoded string-based authentication, add AUTH packet#489
oldmud0 merged 3 commits intomasterfrom
feature/network-auth

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
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
@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