Simple login

Rules

See the rules

  1. If you log in as alpha (password: alpha),
    then your location will be "NYC"
    because alpha has role admin,
    and rule #1 sets location to "NYC" if role is admin
  2. If you log in as beta (password: beta),
    then your role will be "guest"
    because beta has email john.doe@gmail.com,
    and rule #2 sets role to "guest" if email matches *@gmail.com

Log in to see your user attributes


See if the rules were applied.