Skip to content

checkAuthPassword

Sahri Riza Umami edited this page Dec 8, 2016 · 2 revisions

Checks password for correctness.

checkAuthPassword(password)

Works only when authGetState returns authStateWaitPassword.
Returns authStateOk on success.

Option Description
password Password to check.

Example

checkAuthPassword('mysecretp4ssw0rd')

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally