You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, logins were handled by embedding a lot into the templates,
requiring special handling for OpenID and PAUSE. It also required the
oauth urls and keys to be available on every page, which meant it had to
have special handling in the core view module.
Move to using separate end points for each login type, which then can do
their own handling as appropriate. For OpenID and PAUSE, this means
showing a form. For others, it's an immediate redirect. Now only the
login controller needs to know anything about the oauth keys and URLs.
The templates can be simpler because they don't need any per-account
handling. And it adds a form for the PAUSE login, rather than the ugly
javascript prompt.
Identities you are connected to allow you to log into MetaCPAN. MetaCPAN also drags in some information from them to help you with filling in your <ahref="/account/profile">profile</a>. This information is not exposed to anyone unless you explicitly publish it.
6
6
</div>
7
7
<tablewidth="300">
8
-
<%- FOREACH identity IN ['GitHub', 'PAUSE', 'Twitter', 'Google', 'OpenID']; found = user.identity.grep(->(a){ a.name == identity.lower }) %>
8
+
<%- FOREACH identity IN ['GitHub', 'PAUSE', 'Twitter', 'Google', 'OpenID'];
Copy file name to clipboardExpand all lines: root/account/profile.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<% IF no_profile -%>
4
4
<divclass="alert alert-danger">
5
5
<h4class="alert-heading">Error</h4>
6
-
In order to change your profile you have to <ahref="<% oauth_prefix %>&choice=pause" onclick="return logInPAUSE(this)">connect your account to PAUSE</a>.
6
+
In order to change your profile you have to <ahref="/login/pause">connect your account to PAUSE</a>.
0 commit comments