Skip to content

Commit

Permalink
Add base_url support to authorization handler redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
raethlein committed Oct 25, 2019
1 parent c70e873 commit bc08543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nativeauthenticator/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class ChangeAuthorizationHandler(LocalBase):
@admin_only
async def get(self, slug):
UserInfo.change_authorization(self.db, slug)
self.redirect('/authorize')
self.redirect(self.hub.base_url + 'authorize')


class ChangePasswordHandler(LocalBase):
Expand Down

0 comments on commit bc08543

Please sign in to comment.