Logo
Explore Help
Sign In
wcrisman/DistrictCentral
1
0
Fork 0
You've already forked DistrictCentral
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
038c68f618c4ee25ca56ea81ec0017674a147ce8
DistrictCentral/imports/startup/accounts-config.js

14 lines
282 B
JavaScript
Raw Normal View History

Cleaned up the copied project & got the Google authentication working. A lot of work still needs to be done to add content and allow only certain users access.
2022-03-09 07:55:26 -08:00
import { Accounts } from 'meteor/accounts-base'
Initial commit - cloned the Svelte todo's app with google login enabled as a starting point. This system will initially be used to let the chrome extension for students report which computers are used by which students and when.
2021-09-16 07:26:57 -07:00
Converted sample project into an almost working Svelte / Meteor project. Needs to fix the login/logout code, the camera code, and add Chromebook history when the QR Code is scanned.
2022-04-02 10:29:35 -07:00
if(Meteor.isCLient) {
Accounts.ui.config({
passwordSignupFields: 'USERNAME_ONLY'
});
}
Cleaned up the copied project & got the Google authentication working. A lot of work still needs to be done to add content and allow only certain users access.
2022-03-09 07:55:26 -08:00
Accounts.config({
restrictCreationByEmailDomain: function(address) {
return new RegExp('.*@avpanthers.org$', 'i').test(address)
}
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 53ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API