<commit_before>'use strict';

var oldClientHash = require('mano-auth/utils/client-hash')
  , passwordSave   = require('./server')['user/[0-9][a-z0-9]+'].save;

// Common
module.exports = exports = require('./server');

// Add User
exports['user-add'] = require('../public/server-old-hash').register;

// Edit User
exports['user/[0-9][a-z0-9]+'] = {
	save: function (normalizedData, data) {
		if (this.propertyKey) {
			data[this.propertyKey] = oldClientHash(data.email, this.propertyKey);
		}
		passwordSave.call(this, normalizedData, data);<commit_msg>#533 added missing return<commit_after>'use strict';

var oldClientHash = require('mano-auth/utils/client-hash')
  , passwordSave   = require('./server')['user/[0-9][a-z0-9]+'].save;

// Common
module.exports = exports = require('./server');

// Add User
exports['user-add'] = require('../public/server-old-hash').register;

// Edit User
exports['user/[0-9][a-z0-9]+'] = {
	save: function (normalizedData, data) {
		if (this.propertyKey) {
			data[this.propertyKey] = oldClientHash(data.email, this.propertyKey);
		}
		return passwordSave.call(this, normalizedData, data);
{'fraction_non_alphanumeric': 0.20177777777777778, 'fraction_numerical': 0.016888888888888887, 'mean_word_length': 4.54679802955665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5383290', 'n_tokens_mistral': 396, 'n_tokens_neox': 379, 'n_words': 63}