Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
d17304d3
Commit
d17304d3
authored
May 16, 2022
by
Krish Moodbidri
Browse files
fixed bug in __init.py for ok state
parent
4d5779f7
Pipeline
#6108
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/__init__.py
View file @
d17304d3
...
...
@@ -59,6 +59,10 @@ def create_app(config_name):
fullname
=
session
[
'user'
].
get
(
'fullname'
),
email
=
session
[
'user'
].
get
(
'email'
),
referrer
=
session
[
'return_url'
],
cancel_url
=
vars
.
default_referrer
,
cancel_msg
=
messages
.
cancel_message
,
certification_message
=
messages
.
certification_message
)
if
rc_util
.
check_state
(
session
[
'user'
].
get
(
'username'
))
==
"ok"
:
return
render_template
(
'account/landing.html'
)
else
:
return
render_template
(
'auth/SignUp.html'
,
room_id
=
session
[
'uid'
],
username
=
session
[
'user'
].
get
(
'username'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment