-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verifies request.user e-mail whenever we attempt an implicit grant
Before, we would only verify the e-mail address if an implicit grant was about to be performed. Now even if no grant is performed, we still check the e-mail address on /users/roles/accept/. Note that we are still not doing any e-mail verification if there is a role associated to the user to maintain frictionless registration when a personal profile is created.
- Loading branch information
Showing
9 changed files
with
96 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% extends "saas/base.html" %} | ||
|
||
{% block content %} | ||
<section> | ||
<div> | ||
{% if role %} | ||
<p> | ||
Based on your e-mail address we have granted you a {{role_descr}} role on {{organization}}. | ||
</p> | ||
<p> | ||
{% if contacts %} | ||
If you need extra permissions, please contact one of the profile managers for {{organization}}: {{contacts}}. | ||
{% else %} | ||
If you have any questions, please <a href="/contact/">contact us</a>. | ||
{% endif %} | ||
</p> | ||
<div> | ||
<a id="ok" href="{{next}}">Continue</a> | ||
</div> | ||
{% else %} | ||
<p> | ||
We found a matching profile for your e-mail domain! Please verify your e-mail address before going further. To do so click on the link in the e-mail we just sent you. | ||
</p> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endblock %} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==3.2.19 | ||
Django==3.2.20 | ||
django-countries==7.2.1 | ||
django-localflavor==3.1 | ||
django-phonenumber-field==5.2.0 | ||
|