Skip to content

Запрет смены email

Приветствую.

 

Как в ips 4 запретить пользователям изменять свой email? Вместо этого вывести сообщение о том, что в целях безопасности запрещено изменять email.

Featured Replies

\applications\core\modules\front\system\settings.php

 

Найти

	if( \IPS\Member::loggedIn()->isAdmin() )
	{
		return \IPS\Theme::i()->getTemplate( 'system' )->settingsEmail();
	}

Ниже добавить

		return \IPS\Theme::i()->getTemplate( 'system' )->settingsEmail( 'For your security, you are unable to update your email address.' );

  • Author

Спасибо! Всё получилось!

  • 2 weeks later...

Какой заботливый админ. А если мыло уплыло или нужно сменить мыло?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.