from django.conf import settings  # noqa
from appconf import AppConf


class AccountConf(AppConf):
    """
    Custom settings for the account module. Mainly settings required for
    the login on the remote system.
    """
    PID = 3
    LOGIN_TYPE = 'login'
    LOGIN_SUCCESS_URL = 'home'
    ENFORCE_LOGIN_TIMEOUT = 300  # 5 Minutes
    ENFORCE_LOGIN_COOKIE_NAME = 'login_expiry'
    ENFORCE_LOGIN_SALT = settings.AUTH_API_USER
    ENFORCE_LOGIN_NAME = 'force_login_check'

    # The name of the UNCCD role as provided by the remote system.
    UNCCD_ROLE_NAME = 'UNCCD national focal point'

from django.conf import settings  # noqa
from appconf import AppConf


class AccountConf(AppConf):
    """
    Custom settings for the account module. Mainly settings required for
    the login on the remote system.
    """
    PID = 3
    LOGIN_TYPE = 'login'
    LOGIN_SUCCESS_URL = 'home'
    ENFORCE_LOGIN_TIMEOUT = 300  # 5 Minutes
    ENFORCE_LOGIN_COOKIE_NAME = 'login_expiry'
    ENFORCE_LOGIN_SALT = settings.AUTH_API_USER
    ENFORCE_LOGIN_NAME = 'force_login_check'

    # The name of the UNCCD role as provided by the remote system.
    UNCCD_ROLE_NAME = 'UNCCD Focal Point'

Change internal name of UNCCD role back to previous correct value
Change internal name of UNCCD role back to previous correct value

  from django.conf import settings  # noqa
  from appconf import AppConf
  
  
  class AccountConf(AppConf):
      """
      Custom settings for the account module. Mainly settings required for
      the login on the remote system.
      """
      PID = 3
      LOGIN_TYPE = 'login'
      LOGIN_SUCCESS_URL = 'home'
      ENFORCE_LOGIN_TIMEOUT = 300  # 5 Minutes
      ENFORCE_LOGIN_COOKIE_NAME = 'login_expiry'
      ENFORCE_LOGIN_SALT = settings.AUTH_API_USER
      ENFORCE_LOGIN_NAME = 'force_login_check'
  
      # The name of the UNCCD role as provided by the remote system.
-     UNCCD_ROLE_NAME = 'UNCCD national focal point'
+     UNCCD_ROLE_NAME = 'UNCCD Focal Point'
  
Change internal name of UNCCD role back to previous correct value
## Code Before:
from django.conf import settings  # noqa
from appconf import AppConf


class AccountConf(AppConf):
    """
    Custom settings for the account module. Mainly settings required for
    the login on the remote system.
    """
    PID = 3
    LOGIN_TYPE = 'login'
    LOGIN_SUCCESS_URL = 'home'
    ENFORCE_LOGIN_TIMEOUT = 300  # 5 Minutes
    ENFORCE_LOGIN_COOKIE_NAME = 'login_expiry'
    ENFORCE_LOGIN_SALT = settings.AUTH_API_USER
    ENFORCE_LOGIN_NAME = 'force_login_check'

    # The name of the UNCCD role as provided by the remote system.
    UNCCD_ROLE_NAME = 'UNCCD national focal point'

## Instruction:
Change internal name of UNCCD role back to previous correct value
## Code After:
from django.conf import settings  # noqa
from appconf import AppConf


class AccountConf(AppConf):
    """
    Custom settings for the account module. Mainly settings required for
    the login on the remote system.
    """
    PID = 3
    LOGIN_TYPE = 'login'
    LOGIN_SUCCESS_URL = 'home'
    ENFORCE_LOGIN_TIMEOUT = 300  # 5 Minutes
    ENFORCE_LOGIN_COOKIE_NAME = 'login_expiry'
    ENFORCE_LOGIN_SALT = settings.AUTH_API_USER
    ENFORCE_LOGIN_NAME = 'force_login_check'

    # The name of the UNCCD role as provided by the remote system.
    UNCCD_ROLE_NAME = 'UNCCD Focal Point'
