summaryrefslogtreecommitdiff
path: root/internal/gitlabnet/twofactorverify/client_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Simplify 2FA Push auth processingIgor Drozdov2022-07-201-0/+208
| | | | Use a single channel to handle both Push Auth and OTP results
* Implement Push Auth support for 2FA verificationkmcknight2022-07-181-151/+0
| | | | | | | | | | | | | | | | | When `2fa_verify` command is executed: - A user is asked to enter OTP - A blocking call for push auth is performed Then: - If the push auth request fails, the user is still able to enter OTP - If OTP is invalid, the `2fa_verify` command ends the execution - If OTP is valid or push auth request succeeded, then the user is successfully authenticated - If 30 seconds passed while no OTP or Push have been provided, then the `2fa_verify` command ends the execution
* go: Bump major version to v14Patrick Steinhardt2022-07-051-5/+5
| | | | | | | | | | | | | While gitlab-shell currently has a major version of v14, the module path it exposes is not using that major version like it is required by the Go standard. This makes it impossible for dependents to import gitlab-shell as a dependency without using a commit as version. Fix this by changing the module path of gitlab-shell to instead be `gitlab.com/gitlab-org/gitlab-shell/v14` and adjust all imports accordingly. Changelog: fixed
* refactor: move away from ioutil (deprecated)feistel2021-08-191-3/+4
|
* Replace cleanup functions with t.CleanupIgor Drozdov2021-03-171-11/+7
| | | | | In this case we don't need to propagate cleanup function. It simplifies the code.
* Add 2fa_verify commandImre Farkas2020-12-101-0/+154