mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
10 lines
239 B
Go
10 lines
239 B
Go
package suites
|
|
|
|
import "context"
|
|
|
|
func doRegisterThenLogout(ctx context.Context, s *SeleniumSuite, username, password string) string {
|
|
secret := doLoginAndRegisterTOTP(ctx, s, username, password, false)
|
|
doLogout(ctx, s)
|
|
return secret
|
|
}
|