1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Adding shortcode for displaying login page

This commit is contained in:
Jimako 2021-01-10 13:13:53 +01:00 committed by GitHub
parent e948c6fc11
commit a345173c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,18 @@ class plugin_signin_signin_shortcodes extends e_shortcode
}
function sc_signin_login_href($parm = '')
{
if ($this->regMode == 0 )
{
return null;
}
return e_LOGIN;
}
function sc_signin_resend_href($parm=null)
{
if ($this->regMode !== 1 || $this->authMethod !== 'e107')