Skip to content

Documentation


Documentation / @blazetrails/activemodel / hasSecurePassword

Function: hasSecurePassword() ​

hasSecurePassword(this, attribute?, options?): void

Defined in: packages/activemodel/lib/secure-password.ts:35

Parameters ​

ParameterTypeDefault value
thisobjectundefined
attributestring"password"
options{ resetToken?: boolean; validations?: boolean; }{}
options.resetToken?booleanundefined
options.validations?booleanundefined

Returns ​

void

Invented Arm ​

if — PERMANENT

Invented Arm ​

throw — PERMANENT