mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 16:41:03 +02:00
Notify user about unsecured context at quickUploader loading
This commit is contained in:
@ -170,6 +170,10 @@
|
||||
if (this.errorName === 'NotAllowedError') {
|
||||
this.$notify({ type: 'is-danger', text: this.errorText })
|
||||
}
|
||||
|
||||
if (this.errorName === 'InsecureContextError') {
|
||||
this.$notify({ type: 'is-warning', text: "HTTPS required for camera streaming" })
|
||||
}
|
||||
}
|
||||
|
||||
if( !this.errorName && !this.showStream ) {
|
||||
|
Reference in New Issue
Block a user