mirror of
https://gitlab.com/spectre.app/cli.git
synced 2024-11-01 02:41:44 +01:00
If no login state in mpsites, login type is none. No site login defaults to user login.
This commit is contained in:
parent
6b21429551
commit
ca34ed8964
2 changed files with 44 additions and 13 deletions
|
@ -106,8 +106,9 @@ mpw_expect 'ModoLalhRapo6#' -Fnone \
|
|||
-u 'tesẗ' -M '⛄' -tlong -c1 -a3 -p 'authentication' -C '' 'ẗesẗ'
|
||||
mpw_expect 'CudmTecuPune7:' -Fnone \
|
||||
-u 'tesẗ' -M 'ẗest' -tlong -c1 -a3 -p 'authentication' -C '' '⛄'
|
||||
mpw_expect 'yubfalago' -Fnone \
|
||||
-u 'tesẗ' -M 'ẗest' -p 'identification' -C '' 'ẗesẗ'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'yubfalago' -Fnone \
|
||||
# -u 'tesẗ' -M 'ẗest' -p 'identification' -C '' 'ẗesẗ'
|
||||
mpw_expect 'yubfalago' -Fnone \
|
||||
-u 'tesẗ' -M 'ẗest' -tname -c1 -a3 -p 'identification' -C '' 'ẗesẗ'
|
||||
mpw_expect 'jip nodwoqude dizo' -Fnone \
|
||||
|
@ -262,8 +263,11 @@ mpw_expect 'vuh buxtukewo puhe' -Fflat -R0 \
|
|||
-u 'tesẗ.v3' -M 'ẗest' -tphrase -c1 -a3 -p 'authentication' -C '' 'ẗesẗ.c1a3pa.phrase'
|
||||
mpw_expect 'Cq5$TfH#OHmPS9yREp7)' -Fflat -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tmax -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'mophabiwe' -Fflat -R0 \
|
||||
# -u 'tesẗ.v3' -M 'ẗest' -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
mpw_expect 'mophabiwe' -Fflat -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tname -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
mpw_expect 'lA^ul!%9&TD%fj6icT1[' -Fflat -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tmax -c1 -a3 -p 'recovery' -C '' 'ẗesẗ.c1a3pr.max'
|
||||
mpw_expect 'mup wulbezaxa juca' -Fflat -R0 \
|
||||
|
@ -295,8 +299,11 @@ mpw_expect 'cez fexlemozo yula' -Fflat -R0 \
|
|||
-u 'tesẗ.v2' -M 'ẗest' -tphrase -c1 -a2 -p 'authentication' -C '' 'ẗesẗ.c1a2pa.phrase'
|
||||
mpw_expect 'T8+xi4NMd3HUGdV#GW*%' -Fflat -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tmax -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'camfibeye' -Fflat -R0 \
|
||||
# -u 'tesẗ.v2' -M 'ẗest' -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
mpw_expect 'camfibeye' -Fflat -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tname -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
mpw_expect 'YLcoWeBwyiBf2*irFq1.' -Fflat -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tmax -c1 -a2 -p 'recovery' -C '' 'ẗesẗ.c1a2pr.max'
|
||||
mpw_expect 'ye vemcu keq xepewmi' -Fflat -R0 \
|
||||
|
@ -328,8 +335,11 @@ mpw_expect 'sij jihloyenu kizi' -Fflat -R0 \
|
|||
-u 'tesẗ.v1' -M 'ẗest' -tphrase -c1 -a1 -p 'authentication' -C '' 'ẗesẗ.c1a1pa.phrase'
|
||||
mpw_expect 'z2U9)(uQ78TXqtaus)8.' -Fflat -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tmax -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'qipberize' -Fflat -R0 \
|
||||
# -u 'tesẗ.v1' -M 'ẗest' -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
mpw_expect 'qipberize' -Fflat -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tname -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
mpw_expect 'QMciaKyi1&I*g%tHz99,' -Fflat -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tmax -c1 -a1 -p 'recovery' -C '' 'ẗesẗ.c1a1pr.max'
|
||||
mpw_expect 'sok torxibute reza' -Fflat -R0 \
|
||||
|
@ -361,8 +371,11 @@ mpw_expect 'xir qebdohogo buno' -Fflat -R0 \
|
|||
-u 'tesẗ.v0' -M 'ẗest' -tphrase -c1 -a0 -p 'authentication' -C '' 'ẗesẗ.c1a0pa.phrase'
|
||||
mpw_expect "RoAm3bJSvo@#loHSRA6\'" -Fflat -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tmax -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'ragcoxudo' -Fflat -R0 \
|
||||
# -u 'tesẗ.v0' -M 'ẗest' -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
mpw_expect 'ragcoxudo' -Fflat -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tname -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
mpw_expect 'm8]SiJHiAS@H@Rbw))34' -Fflat -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tmax -c1 -a0 -p 'recovery' -C '' 'ẗesẗ.c1a0pr.max'
|
||||
mpw_expect 'kokl hov lowmaya xaf' -Fflat -R0 \
|
||||
|
@ -395,8 +408,11 @@ mpw_expect 'vuh buxtukewo puhe' -Fjson -R0 \
|
|||
-u 'tesẗ.v3' -M 'ẗest' -tphrase -c1 -a3 -p 'authentication' -C '' 'ẗesẗ.c1a3pa.phrase'
|
||||
mpw_expect 'Cq5$TfH#OHmPS9yREp7)' -Fjson -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tmax -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'mophabiwe' -Fjson -R0 \
|
||||
# -u 'tesẗ.v3' -M 'ẗest' -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
mpw_expect 'mophabiwe' -Fjson -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tname -c1 -a3 -p 'identification' -C '' 'ẗesẗ.c1a3pi'
|
||||
mpw_expect 'lA^ul!%9&TD%fj6icT1[' -Fjson -R0 \
|
||||
-u 'tesẗ.v3' -M 'ẗest' -tmax -c1 -a3 -p 'recovery' -C '' 'ẗesẗ.c1a3pr.max'
|
||||
mpw_expect 'mup wulbezaxa juca' -Fjson -R0 \
|
||||
|
@ -428,8 +444,11 @@ mpw_expect 'cez fexlemozo yula' -Fjson -R0 \
|
|||
-u 'tesẗ.v2' -M 'ẗest' -tphrase -c1 -a2 -p 'authentication' -C '' 'ẗesẗ.c1a2pa.phrase'
|
||||
mpw_expect 'T8+xi4NMd3HUGdV#GW*%' -Fjson -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tmax -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'camfibeye' -Fjson -R0 \
|
||||
# -u 'tesẗ.v2' -M 'ẗest' -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
mpw_expect 'camfibeye' -Fjson -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tname -c1 -a2 -p 'identification' -C '' 'ẗesẗ.c1a2pi'
|
||||
mpw_expect 'YLcoWeBwyiBf2*irFq1.' -Fjson -R0 \
|
||||
-u 'tesẗ.v2' -M 'ẗest' -tmax -c1 -a2 -p 'recovery' -C '' 'ẗesẗ.c1a2pr.max'
|
||||
mpw_expect 'ye vemcu keq xepewmi' -Fjson -R0 \
|
||||
|
@ -461,8 +480,11 @@ mpw_expect 'sij jihloyenu kizi' -Fjson -R0 \
|
|||
-u 'tesẗ.v1' -M 'ẗest' -tphrase -c1 -a1 -p 'authentication' -C '' 'ẗesẗ.c1a1pa.phrase'
|
||||
mpw_expect 'z2U9)(uQ78TXqtaus)8.' -Fjson -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tmax -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'qipberize' -Fjson -R0 \
|
||||
# -u 'tesẗ.v1' -M 'ẗest' -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
mpw_expect 'qipberize' -Fjson -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tname -c1 -a1 -p 'identification' -C '' 'ẗesẗ.c1a1pi'
|
||||
mpw_expect 'QMciaKyi1&I*g%tHz99,' -Fjson -R0 \
|
||||
-u 'tesẗ.v1' -M 'ẗest' -tmax -c1 -a1 -p 'recovery' -C '' 'ẗesẗ.c1a1pr.max'
|
||||
mpw_expect 'sok torxibute reza' -Fjson -R0 \
|
||||
|
@ -494,8 +516,11 @@ mpw_expect 'xir qebdohogo buno' -Fjson -R0 \
|
|||
-u 'tesẗ.v0' -M 'ẗest' -tphrase -c1 -a0 -p 'authentication' -C '' 'ẗesẗ.c1a0pa.phrase'
|
||||
mpw_expect "RoAm3bJSvo@#loHSRA6\'" -Fjson -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tmax -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi.max'
|
||||
# TODO: user-level login
|
||||
#mpw_expect 'ragcoxudo' -Fjson -R0 \
|
||||
# -u 'tesẗ.v0' -M 'ẗest' -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
mpw_expect 'ragcoxudo' -Fjson -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tname -c1 -a0 -p 'identification' -C '' 'ẗesẗ.c1a0pi'
|
||||
mpw_expect 'm8]SiJHiAS@H@Rbw))34' -Fjson -R0 \
|
||||
-u 'tesẗ.v0' -M 'ẗest' -tmax -c1 -a0 -p 'recovery' -C '' 'ẗesẗ.c1a0pr.max'
|
||||
mpw_expect 'kokl hov lowmaya xaf' -Fjson -R0 \
|
||||
|
|
|
@ -603,9 +603,15 @@ void cli_operation(Arguments *args, Operation *operation) {
|
|||
}
|
||||
case MPKeyPurposeIdentification: {
|
||||
operation->purposeResult = "login";
|
||||
operation->resultType = operation->site->loginType;
|
||||
operation->resultState = operation->site->loginState? mpw_strdup( operation->site->loginState ): NULL;
|
||||
operation->siteCounter = MPCounterValueInitial;
|
||||
if (operation->site->loginType != MPResultTypeNone) {
|
||||
operation->resultType = operation->site->loginType;
|
||||
operation->resultState = operation->site->loginState? mpw_strdup( operation->site->loginState ): NULL;
|
||||
operation->siteCounter = MPCounterValueInitial;
|
||||
} else {
|
||||
operation->resultType = operation->user->loginType;
|
||||
operation->resultState = operation->user->loginState? mpw_strdup( operation->user->loginState ): NULL;
|
||||
operation->siteCounter = MPCounterValueInitial;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MPKeyPurposeRecovery: {
|
||||
|
|
Loading…
Reference in a new issue