mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
ACS-5403 Prevent possibility to override prototype (#8719)
This commit is contained in:
parent
ecbf571451
commit
c813bde005
@ -324,11 +324,13 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
msg: string,
|
||||
params?: any
|
||||
) {
|
||||
if (field !== '__proto__' && field !== 'constructor' && field !== 'prototype') {
|
||||
this._message[field][ruleId] = {
|
||||
value: msg,
|
||||
params
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Display and hide the password value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user