Fix typo in AuthProvider._validate error message. login_url instead of logout_url
* Update auth_provider.py
fixed typo : login_url in the error message instead of logout_url
* Update auth_provider.py
fix typo
@@ -147,7 +147,7 @@ class AuthProvider:
@property
def logout_url(self):
- ''' A URL to redirect unathenticated users to for logout.
+ ''' A URL to redirect authenticated users to for logout.
This proprty may return None.
@@ -173,7 +173,7 @@ class AuthProvider:
if self.logout_handler and not issubclass(self.logout_handler, RequestHandler):
raise ValueError("LogoutHandler must be a Tornado RequestHandler")
if self.logout_url and not probably_relative_url(self.logout_url):
- raise ValueError("LogoutHandler can only be used with a relative login_url")
+ raise ValueError("LogoutHandler can only be used with a relative logout_url")
class AuthModule(AuthProvider):
''' An AuthProvider configured from a Python module.
