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
4d5779f7
Commit
4d5779f7
authored
May 09, 2022
by
Ravi Tripathi
Browse files
Merge branch 'fix-message-error' into 'master'
fixed message passing error See merge request
rc/self-reg-form!34
parents
cee9f9c2
3fa660a8
Pipeline
#6113
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/__init__.py
View file @
4d5779f7
...
...
@@ -58,7 +58,7 @@ def create_app(config_name):
username
=
session
[
'user'
].
get
(
'username'
),
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
_msg
=
messages
.
certification_message
)
cancel_msg
=
messages
.
cancel_message
,
certification_message
=
messages
.
certification_message
)
else
:
return
render_template
(
'auth/SignUp.html'
,
room_id
=
session
[
'uid'
],
username
=
session
[
'user'
].
get
(
'username'
),
...
...
app/templates/account/certify.html
View file @
4d5779f7
...
...
@@ -94,7 +94,7 @@
</div>
<br>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<button
class=
"btn btn-danger btn-md"
id=
"cancel"
name=
"cancel"
type=
"button"
onClick=
"renderDom('Account C
r
eation Cancelled','{{ cancel_msg |safe }}', null)"
>
Cancel
</button>
<button
class=
"btn btn-danger btn-md"
id=
"cancel"
name=
"cancel"
type=
"button"
onClick=
"renderDom('Account Ce
rtific
ation Cancelled','{{ cancel_msg |safe }}', null)"
>
Cancel
</button>
<button
class=
"btn btn-primary btn-md"
id=
"submit"
name=
"submit"
type=
"button"
value=
"Submit"
onclick=
"displayloading1();certify_account()"
>
Certify Account
</button>
</div>
</form>
...
...
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