Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Flask_User_Reg
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mitchell Moore
Flask_User_Reg
Commits
8c6b2dff
Commit
8c6b2dff
authored
5 years ago
by
Mitchell Moore
Browse files
Options
Downloads
Patches
Plain Diff
Change success route name to request_sent
parent
e4bf1705
No related branches found
Branches containing commit
No related tags found
3 merge requests
!35
Version 1b openstack rabbitmq
,
!28
Change success route name to request_sent
,
!27
WIP: Version 1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/__init__.py
+3
-3
3 additions, 3 deletions
app/__init__.py
with
3 additions
and
3 deletions
app/__init__.py
+
3
−
3
View file @
8c6b2dff
...
...
@@ -46,12 +46,12 @@ def create_app(config_name):
form
.
fullname
.
data
=
''
# reset form data upon capture
form
.
fullname
.
data
=
''
# reset form data upon capture
return
redirect
(
url_for
(
'
success
'
,
username
=
username
))
return
redirect
(
url_for
(
'
request_sent
'
,
username
=
username
))
return
render_template
(
'
auth/SignUp.html
'
,
form
=
form
,
user
=
username
)
@app.route
(
'
/
success
/<username>
'
)
def
success
(
username
):
@app.route
(
'
/
request_sent
/<username>
'
)
def
request_sent
(
username
):
fullname
=
session
.
get
(
'
fullname
'
,
None
)
reason
=
session
.
get
(
'
reason
'
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment