Added Manager check

This commit is contained in:
BuildTools 2022-03-15 15:29:09 +01:00
parent 9c6f772c39
commit a3762c6e14
1 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,5 @@
@startuml Asura Tournament System
title Login
Actor Admin #palegreen
participant Website
database Server #brown
@ -13,10 +14,12 @@ Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->Admin: "Login Successful"
opt Is Manager
Website->Admin: redirect(managerPage)
end
Website->Admin: redirect(adminPage)
' Website-->Admin: Login
end
deactivate Website
deactivate Admin
@enduml