Fixed incorrect link on registration successful page
This commit is contained in:
parent
0b5308dea9
commit
86f2f530ef
@ -235,9 +235,14 @@ class OpenIDPlugin extends Plugin
|
|||||||
switch ($name)
|
switch ($name)
|
||||||
{
|
{
|
||||||
case 'register':
|
case 'register':
|
||||||
$instr = '(Have an [OpenID](http://openid.net/)? ' .
|
if (common_logged_in()) {
|
||||||
'Try our [OpenID registration]'.
|
$instr = '(Have an [OpenID](http://openid.net/)? ' .
|
||||||
'(%%action.openidlogin%%)!)';
|
'[Add an OpenID to your account](%%action.openidsettings%%)!';
|
||||||
|
} else {
|
||||||
|
$instr = '(Have an [OpenID](http://openid.net/)? ' .
|
||||||
|
'Try our [OpenID registration]'.
|
||||||
|
'(%%action.openidlogin%%)!)';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'login':
|
case 'login':
|
||||||
$instr = '(Have an [OpenID](http://openid.net/)? ' .
|
$instr = '(Have an [OpenID](http://openid.net/)? ' .
|
||||||
|
Loading…
Reference in New Issue
Block a user