login with username (e.g: sran) and email (sran@rsrudio.com)

Is there any way to login in to RStudio with two methods:

  1. username
    &
  2. username@rstudio.com

Do I need change any thing on configuration file?
some thing similar to Gitlab: allow_username_or_email_login: true

Please suggest us!
Many Thanks!