Overview
SHA1:325553daa5d2bb9a26af858909f2d99f26f4acac
Date: 2018-04-29 09:11:27
User: bohwaz
Comment:id_membre était ambigu, correction
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-04-29
09:15
[7939e2b2fe] Fix typo (user: bohwaz, tags: trunk, stable)
09:11
[325553daa5] id_membre était ambigu, correction (user: bohwaz, tags: trunk, stable)
2018-04-28
22:07
[e3268e5084] Forcer l'installation des plugins système après restauration (user: bohwaz, tags: trunk, stable)
Changes

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

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,
			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,
			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)
	{