forked from OperationXen/UnseenServant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
304 bugfix remove player (OperationXen#338)
* Wrong command context fixed * Corrected call to player utils * Fixed duplicated "in" * Improvements to discord auth logic
- Loading branch information
1 parent
08c8560
commit 7df3014
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
from django.urls import path | ||
from django.urls import re_path | ||
|
||
from discord_login.views import discord_login, discord_auth_done | ||
from discord_login.views import discord_login, discord_auth_done, discord_auth_complete, discord_auth_failed | ||
|
||
|
||
urlpatterns = [ | ||
path('login/', discord_login, name='discord_login'), | ||
path('done/', discord_auth_done, name='discord_auth_done') | ||
re_path("login/?", discord_login, name="discord_login"), | ||
re_path("done/?", discord_auth_done, name="discord_auth_done"), | ||
re_path("complete/?", discord_auth_complete, name="discord_auth_complete"), | ||
re_path("failed/?", discord_auth_failed, name="discord_auth_failed") | ||
# path('logout/', discord_logout, name='logout'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters