View Issue Details

IDProjectCategoryView StatusLast Update
0005090SOGoWeb Preferencespublic2020-07-24 16:39
Reportersardaukar Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version4.3.2 
Fixed in Versionnightly master 
Summary0005090: Two factor auth cannot be turned on
Description

The preferences page does not show a QR code when activating the Enable two-factor authentication using Google Authenticator option. The browser console shows:

On Firefox:

ReferenceError: QRCode is not defined
    link sgQrCode.directive.js:30
    Angular 33
 <sg-qr-code text="GFRTQZBYGNRGMYTBMNTA====">

On Chrome:

angular.js:15635 ReferenceError: QRCode is not defined
    at Object.link (sgQrCode.directive.js:30)
    at angular.js:1391
    at angular.js:11328
    at Ca (angular.js:11334)
    at p (angular.js:10653)
    at g (angular.js:9900)
    at g (angular.js:9903)
    at p (angular.js:10647)
    at g (angular.js:9900)
    at p (angular.js:10647) "<sg-qr-code text="GFRTQZBYGNRGMYTBMNTA====">"
Steps To Reproduce

Login in, go to preferences page, try to activate two-factor auth.

Tags2fa

Activities

There are no notes attached to this issue.

Related Changesets

sogo: master c73b40f6

2020-07-24 12:38

francis


Details Diff
chore(js/css): add QRCode library

Fixes 0005090
Affected Issues
0005090
mod - UI/WebServerResources/GNUmakefile Diff File
add - UI/WebServerResources/js/vendor/qrcode.js Diff File
add - UI/WebServerResources/js/vendor/qrcode.min.js Diff File

Issue History

Date Modified Username Field Change
2020-07-23 22:24 sardaukar New Issue
2020-07-23 22:24 sardaukar Tag Attached: 2fa
2020-07-24 16:38 francis Changeset attached => sogo master c73b40f6
2020-07-24 16:38 francis Assigned To => francis
2020-07-24 16:38 francis Resolution open => fixed
2020-07-24 16:39 francis Status new => resolved
2020-07-24 16:39 francis Fixed in Version => 5.0.0
2020-07-24 16:39 francis Fixed in Version 5.0.0 => nightly master
2020-07-24 16:39 francis Description Updated