Overview
Comment:Fix typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 7939e2b2feab51b7f128ac8b26d152fe4e045524
User & Date: bohwaz on 2018-04-29 09:15:39
Other Links: manifest | tags
Context
2018-05-02
17:59
DB::get renvoie un objet, non un tableau check-in: 7d0a603b6f user: bohwaz tags: trunk, stable
2018-04-29
09:15
Fix typo check-in: 7939e2b2fe user: bohwaz tags: trunk, stable
09:11
id_membre ├ętait ambigu, correction check-in: 325553daa5 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Membres/Session.php from [f8c34786b6] to [1581bfdf5f].

77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	{
		return $this->db->delete('membres_sessions', $this->db->where('expire', '<', time()));
	}

	protected function getRememberMeSelector($selector)
	{
		return $this->db->first('SELECT selecteur AS selector, hash,
			m.id_membre AS user_id, m.passe AS user_password, expire AS expiry
			FROM membres_sessions AS s
			INNER JOIN membres AS m ON m.id = s.id_membre
			WHERE s.selecteur = ? LIMIT 1;', $selector);
	}

	protected function deleteRememberMeSelector($selector)
	{







|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	{
		return $this->db->delete('membres_sessions', $this->db->where('expire', '<', time()));
	}

	protected function getRememberMeSelector($selector)
	{
		return $this->db->first('SELECT selecteur AS selector, hash,
			s.id_membre AS user_id, m.passe AS user_password, expire AS expiry
			FROM membres_sessions AS s
			INNER JOIN membres AS m ON m.id = s.id_membre
			WHERE s.selecteur = ? LIMIT 1;', $selector);
	}

	protected function deleteRememberMeSelector($selector)
	{