polyfony-inc/polyfony

Expired accounts should not redirect to the login page

Closed this issue · 0 comments

// if account has expired, we deny access
!$account->hasExpired() ?:
	self::deny(
		"Your account has expired, it was valid until {$account->get('is_expiring_on')}", 
		403, true);

 
 3rd param should be false.