mirror of
https://github.com/netzbegruenung/meteor-accounts-saml.git
synced 2024-05-01 03:14:52 +02:00
correct issue #14: fix NCName with non-numeric character prefix
This commit is contained in:
parent
3e509b8e09
commit
0c16bc9473
|
@ -52,7 +52,7 @@ SAML.prototype.initialize = function(options) {
|
|||
|
||||
SAML.prototype.generateUniqueID = function() {
|
||||
const chars = 'abcdef0123456789';
|
||||
let uniqueID = '';
|
||||
let uniqueID = 'id-';
|
||||
for (let i = 0; i < 20; i++) {
|
||||
uniqueID += chars.substr(Math.floor((Math.random() * 15)), 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue