web: prettier did a thing
This commit is contained in:
parent
6cf2de8a7c
commit
c52fa631b4
|
@ -7,7 +7,7 @@ for awhile, but at least let's get started.
|
||||||
|
|
||||||
In Peter Naur's 1985 essay [Programming as Theory
|
In Peter Naur's 1985 essay [Programming as Theory
|
||||||
Building](https://pages.cs.wisc.edu/~remzi/Naur.pdf), programming is described as creating a mental
|
Building](https://pages.cs.wisc.edu/~remzi/Naur.pdf), programming is described as creating a mental
|
||||||
model of how a program *should* run, then writing the code to test if the program *can* run that
|
model of how a program _should_ run, then writing the code to test if the program _can_ run that
|
||||||
way.
|
way.
|
||||||
|
|
||||||
The mental model for the authentik UI is straightforward. There are five "applications" within the
|
The mental model for the authentik UI is straightforward. There are five "applications" within the
|
||||||
|
@ -46,7 +46,7 @@ experience:
|
||||||
|
|
||||||
**Mental Model**
|
**Mental Model**
|
||||||
|
|
||||||
- Upon initialization, *every* authentik UI application fetches `Config` and `CurrentTenant`. `User`
|
- Upon initialization, _every_ authentik UI application fetches `Config` and `CurrentTenant`. `User`
|
||||||
and `Admin` will also attempt to load the `SessionUser`; if there is none, the user is kicked out
|
and `Admin` will also attempt to load the `SessionUser`; if there is none, the user is kicked out
|
||||||
to the `Flow` for logging into authentik itself.
|
to the `Flow` for logging into authentik itself.
|
||||||
- `Config`, `CurrentTenant`, and `SessionUser`, are provided by the `@goauthentik/api` application,
|
- `Config`, `CurrentTenant`, and `SessionUser`, are provided by the `@goauthentik/api` application,
|
||||||
|
|
Reference in New Issue