Menu icon Foundation
Abide default password pattern

Hi.

I've been trying for a while to change default password pattern, and the only way I've found to do this so far is this way:

Foundation.libs.abide.settings.patterns.password = /^\w{3,14}$/; (from stack overflow)

I've obviously tried to change it by changing the pattern when declaring .foundation('abide'...

Is my solution the correct one? I feel this to be quite strange having to access directly to object properties.

Anybody knows of another way?

abidepasswordpattern

Hi.

I've been trying for a while to change default password pattern, and the only way I've found to do this so far is this way:

Foundation.libs.abide.settings.patterns.password = /^\w{3,14}$/; (from stack overflow)

I've obviously tried to change it by changing the pattern when declaring .foundation('abide'...

Is my solution the correct one? I feel this to be quite strange having to access directly to object properties.

Anybody knows of another way?