Jump to content

Changes in login form in 4.3


Adriano Faria

Recommended Posts

Posted

So I have a couple of resources that uses login form.With all changes in 4.3, it uses a "hardcoded" template and there's no way to remove options like Remember Me, Sign in anonymously and Forgot your password?, at least I didn't find it.

		$url = \IPS\Http\Url::internal( 'app=core&module=system&controller=settings&area=linkedaccounts', 'front', 'settings_linkedaccounts' );
		$login = new \IPS\Login( $url, \IPS\Login::LOGIN_ACP );
		$error = NULL;

Tried to change the login type to ACP, UCP, no change at all. ACP for example, only has USERNAME and EMAIL, exactly what I need, but I change it there and see no change in template.

				<div class='cLogin_single'>
				{{if $error}}
					<p class="ipsMessage ipsMessage_error">{lang="$error"}</p>
				{{endif}}
					<div class="{{if !request.isAjax()}}ipsBox{{endif}} ipsPad">
						{template="loginForm" app="core" group="system" params="$login"}
					</div>
				</div>

 

Xo325pE.png&key=5b9b64462eff4c372b731973

Is that right? That's how it will work now?

 

EDIT: Admin CP uses another template from (admin).

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...