Added Manager check
This commit is contained in:
parent
9c6f772c39
commit
a3762c6e14
|
@ -1,4 +1,5 @@
|
||||||
@startuml Asura Tournament System
|
@startuml Asura Tournament System
|
||||||
|
title Login
|
||||||
Actor Admin #palegreen
|
Actor Admin #palegreen
|
||||||
participant Website
|
participant Website
|
||||||
database Server #brown
|
database Server #brown
|
||||||
|
@ -13,10 +14,12 @@ Server-->Website: {status: success | failure}
|
||||||
deactivate Server
|
deactivate Server
|
||||||
alt status = success
|
alt status = success
|
||||||
Website-->Admin: "Login Successful"
|
Website-->Admin: "Login Successful"
|
||||||
|
opt Is Manager
|
||||||
|
Website->Admin: redirect(managerPage)
|
||||||
|
end
|
||||||
Website->Admin: redirect(adminPage)
|
Website->Admin: redirect(adminPage)
|
||||||
' Website-->Admin: Login
|
' Website-->Admin: Login
|
||||||
end
|
end
|
||||||
deactivate Website
|
deactivate Website
|
||||||
deactivate Admin
|
deactivate Admin
|
||||||
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in New Issue