Added support to indicate desired locale on login
This commit is contained in:
parent
aa25c899ee
commit
a5dc91f9a6
1 changed files with 4 additions and 0 deletions
|
@ -168,6 +168,10 @@
|
||||||
url += '&scope=' + options.scope;
|
url += '&scope=' + options.scope;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (options && options.locale) {
|
||||||
|
url += '&kc_locale=' + options.locale;
|
||||||
|
}
|
||||||
|
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue