mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
add support for habitica-android in x-client header
This commit is contained in:
@@ -585,7 +585,7 @@ UserSchema.methods.unlink = function(options, cb) {
|
||||
function _populateDefaultsForNewUser(user) {
|
||||
var taskTypes;
|
||||
|
||||
if (user.registeredThrough === "habitica-web") {
|
||||
if (user.registeredThrough === "habitica-web" || user.registeredThrough === "habitica-android") {
|
||||
taskTypes = ['habits', 'dailys', 'todos', 'rewards', 'tags'];
|
||||
|
||||
var tutorialCommonSections = [
|
||||
|
||||
Reference in New Issue
Block a user