|
@@ -17,12 +17,20 @@
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+import UIAlert from './UIAlert.js';
|
|
import UIWindow from './UIWindow.js'
|
|
import UIWindow from './UIWindow.js'
|
|
|
|
|
|
async function UIWindowQR(options){
|
|
async function UIWindowQR(options){
|
|
return new Promise(async (resolve) => {
|
|
return new Promise(async (resolve) => {
|
|
options = options ?? {};
|
|
options = options ?? {};
|
|
|
|
|
|
|
|
+ if ( ! window.user.email_confirmed ) {
|
|
|
|
+ await UIAlert({
|
|
|
|
+ message: i18n('contact_us_verification_required'),
|
|
|
|
+ });
|
|
|
|
+ return resolve();
|
|
|
|
+ }
|
|
|
|
+
|
|
let h = '';
|
|
let h = '';
|
|
h += `<div style="padding: 20px; margin-top: 0;">`;
|
|
h += `<div style="padding: 20px; margin-top: 0;">`;
|
|
// success
|
|
// success
|