asura-tmdb/documentation/sequenceDiagramLogin.puml

22 lines
463 B
Plaintext

@startuml Asura Tournament System
Actor Admin #palegreen
participant Website
database Server #brown
hide footbox
Admin->Website: login(username, passwd)
activate Admin
activate Website
Website->Server: Login Request
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->Admin: "Login Successful"
Website->Admin: redirect(adminPage)
' Website-->Admin: Login
end
deactivate Website
deactivate Admin
@enduml