diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 18:04:39 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 18:42:26 -0700 |
commit | a1eebad359f6229fdba5fccef51a5e6d68e6fa88 (patch) | |
tree | 743e54d37b7b486674b729700487a2488f2cd81f /python/fatcat_web/auth.py | |
parent | a4ea1a0e13b1b8016bbfaa0f0fbf983f0abdd5a5 (diff) | |
download | fatcat-a1eebad359f6229fdba5fccef51a5e6d68e6fa88.tar.gz fatcat-a1eebad359f6229fdba5fccef51a5e6d68e6fa88.zip |
add guide editing links to edit forms and signup message
Diffstat (limited to 'python/fatcat_web/auth.py')
-rw-r--r-- | python/fatcat_web/auth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py index c3f7fc05..5c8507c1 100644 --- a/python/fatcat_web/auth.py +++ b/python/fatcat_web/auth.py @@ -71,8 +71,9 @@ def handle_oauth(remote, token, user_info): if http_status == 201: flash("Welcome to Fatcat! An account has been created for you with a temporary username; you may wish to change it under account settings") flash("You must use the same mechanism ({}) to login in the future".format(remote.name)) + flash("Check out 'The Guide' (linked above) for an editing quickstart tutorial") else: - flash("Welcome back!") + flash("Welcome back {}!".format(editor.username)) # write token and username to session session.permanent = True |